package org.example.provider;


import lombok.extern.slf4j.Slf4j;
import org.example.annotation.RpcServer;
import org.example.interfaces.HelloService;

@Slf4j
@RpcServer
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        log.info("收到调用,参数:{}", name);
        return "你好, " + name;
    }
}
